<?php
namespace Liaiyong\Light\Data;

use Liaiyong\Light\Base\Component;
use Liaiyong\Light\Data\Data;

class DataList extends Data {
    protected $total = 0;
    protected $hasNext = false;
    protected $since = '';
    protected $list = array();
	public function rules() {
		return array(
			'list' => Component::TYPE_PURE_ARRAY,
			'total' => Component::TYPE_INTEGER,
			'hasNext' => Component::TYPE_BOOLEAN,
			'since' => Component::TYPE_STRING
		);
	}
}
// PHP END
